<template>
  <div>
    <router-link v-for="route in routes" :key="route.path" :to="route.path">{{ route.name }}</router-link>
  </div>
  <router-view />
</template>
<script>
import { defineComponent } from 'vue'
import { routes } from '@/router'
export default defineComponent({
  setup() {
    return {
      routes
    }
  }
})
</script>

